using System.Data;
using DataSync.DataAccess.Department;

namespace DataSync.Services.Department
{
    public class DepartmentService
    {
        private readonly DepartmentDataAccess _DepartmentDataAccess;

        public DepartmentService()
        {
            _DepartmentDataAccess = new DepartmentDataAccess();
        }

        public DataTable GetDepartments()
        {
            return _DepartmentDataAccess.GetDepartments();
        }
    }
}